package exp2;
public class Novel_6{
	public static void main(String[] args){
		int a = 3,b = 6, c = 1,max;
		max=a>b?(a>c?a:c):(b>c?b:c);
		System.out.println("最大值是" + max);
	}
}